//停车费支付 by KB

let lf = liefeng;

let Container = React.createClass({
    render(){
        return(
            <div className="parking-pay">
                <div className="pay-bg">
                    <p className="cost">付款金额：<span className="price">12.00</span></p>
                    <div className="way">
                        <p>付款方式</p>
                        <a className="zfb" href="javascript:;"><i className="call-icon icon-zhifubaozhifu"></i>支付宝</a>
                        <a className="wx" href="javascript:;"><i className="call-icon icon-weixin"></i>微信</a>
                    </div>
                </div>
            </div>
        )
    }
})

lf.bridgeJs.getUser(function (user) {
    console.log(user)
    React.render(
        <Container user={user} />,
        document.getElementById('root'), function () {
            $('#root').css('background', 'none');
        }
    )
})